Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

https://github.com/Azure/sdk-release-request/issues/6307
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1014
BuildTargetingString
azure-mgmt-monitor
Skip.CreateApiReview

@azure-sdk
Copy link
Collaborator Author

Copilot AI review requested due to automatic review settings July 4, 2025 07:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds auto-generated operations, models, tests, and samples for the new Data Collection Rules, Data Collection Rule Associations, and Data Collection Endpoints APIs in the Monitor management SDK.

  • Introduces sync and async client operations (DataCollectionRulesOperations, DataCollectionRuleAssociationsOperations, DataCollectionEndpointsOperations) and updates the models/enums.
  • Adds generated test stubs for both sync and async operations, all marked as skipped and containing placeholder validation comments.
  • Provides sample scripts for listing, getting, creating, updating, and deleting the new resources.

Reviewed Changes

Copilot reviewed 44 out of 45 changed files in this pull request and generated 2 comments.

File Description
sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/operations/_data_collection*_operations.py New auto-generated operation implementations for rules, associations, and endpoints (sync & async)
sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/models/_monitor_management_client_enums.py and __init__.py Expanded models and added new enums for data collection resources
sdk/monitor/azure-mgmt-monitor/generated_tests/test_monitor*_operations*.py Added placeholder tests for all new operations
sdk/monitor/azure-mgmt-monitor/generated_samples/data_collection*.py Sample scripts for each CRUD operation on the new resources
Comments suppressed due to low confidence (1)

sdk/monitor/azure-mgmt-monitor/generated_tests/test_monitor_management_data_collection_rules_operations_async.py:30

  • The test lacks assertions or validation logic. Add checks to verify the response content and ensure the operation behaves as expected.
        # please add some check logic here by yourself

@ChenxiJiang333 ChenxiJiang333 merged commit 7fc38f5 into Azure:main Jul 21, 2025
19 checks passed
@azure-sdk azure-sdk deleted the t2-monitor-2025-07-04-83128 branch July 27, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants